﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Borton.Beans
{
    class Felhasznalo:Bean
    {
        public Felhasznalo()
        {
            tableName = "Felhasznalo";
            fields = new Field[] {
              new Field("id",FieldType.NUMBER),
              new Field("nev",FieldType.STRING),
              new Field("jelszo",FieldType.STRING),
              new Field("email",FieldType.STRING)
            };
            referringBeans = new Bean[] {
                new MultiIdentifier_("felhasznalo_id", "jog_id", typeof(FelhasznaloJog))
            };
        }

        public override object Clone()
        {
            return new Felhasznalo();
        }
    }
}
